package com.gengzp.rpc.model.dto.nacos;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Map;

/**
 * @ClassName NacosOnlineInstanceRespDto
 * @Description nacos在线实例dto
 * @Author gengzp
 * @Date 2025/6/1 0:33
 */
@Data
public class NacosOnlineInstanceDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 5480126775389483786L;

    private String clusterName;
    private boolean enabled;
    private boolean ephemeral;
    private boolean healthy;
    private int instanceHeartBeatInterval;
    private int instanceHeartBeatTimeout;
    private String instanceId;
    private String ip;
    private int ipDeleteTimeout;
    private Map<String, String> metadata;
    private int port;
    private String serviceName;
    private int weight;

}
